package com.mk.cloud.common.domain;
import org.beetl.sql.core.annotatoin.AssignID;
import org.beetl.sql.core.mapper.BaseMapper;

import javax.persistence.Transient;
import java.io.Serializable;
import java.math.*;
import java.util.Date;
import java.sql.Timestamp;

/*
* 
* gen by beetlsql 2018-04-04
*/
public class PArticle   implements Serializable{
	@AssignID
	private String artid ;
	//阅读量
	private Integer artpv ;
	//排序
	private Integer orderby ;
	//内容
	private String artcontent ;
	//摘要
	private String artdescription ;
	//封面
	private String artimg ;
	//关键字
	private String artkeyword ;
	//创建时间
	private String arttime ;
	//文章标题
	private String arttitle ;
	//文章类型（1案例，2产品效果（产品效果仅能有一条），3培训）
	private String arttype ;
	//状态 0=草稿 1=发布 2=已删除
	private String artvalistate ;
	//发布时间
	private String publishtime ;
	//编辑人ID
	private String userid ;
	//编辑人姓名
	@Transient
	private String realname;
	private String coid;

	public String getCoid() {
		return coid;
	}

	public void setCoid(String coid) {
		this.coid = coid;
	}
	
	public PArticle() {
	}

	public String getRealname() {
		return realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public String getArtid(){
		return  artid;
	}
	public void setArtid(String artid ){
		this.artid = artid;
	}
	
	public Integer getArtpv(){
		return  artpv;
	}
	public void setArtpv(Integer artpv ){
		this.artpv = artpv;
	}
	
	public Integer getOrderby(){
		return  orderby;
	}
	public void setOrderby(Integer orderby ){
		this.orderby = orderby;
	}
	
	public String getArtcontent(){
		return  artcontent;
	}
	public void setArtcontent(String artcontent ){
		this.artcontent = artcontent;
	}
	
	public String getArtdescription(){
		return  artdescription;
	}
	public void setArtdescription(String artdescription ){
		this.artdescription = artdescription;
	}
	
	public String getArtimg(){
		return  artimg;
	}
	public void setArtimg(String artimg ){
		this.artimg = artimg;
	}
	
	public String getArtkeyword(){
		return  artkeyword;
	}
	public void setArtkeyword(String artkeyword ){
		this.artkeyword = artkeyword;
	}
	
	public String getArttime(){
		return  arttime;
	}
	public void setArttime(String arttime ){
		this.arttime = arttime;
	}
	
	public String getArttitle(){
		return  arttitle;
	}
	public void setArttitle(String arttitle ){
		this.arttitle = arttitle;
	}
	
	public String getArttype(){
		return  arttype;
	}
	public void setArttype(String arttype ){
		this.arttype = arttype;
	}
	
	public String getArtvalistate(){
		return  artvalistate;
	}
	public void setArtvalistate(String artvalistate ){
		this.artvalistate = artvalistate;
	}
	
	public String getPublishtime(){
		return  publishtime;
	}
	public void setPublishtime(String publishtime ){
		this.publishtime = publishtime;
	}
	
	public String getUserid(){
		return  userid;
	}
	public void setUserid(String userid ){
		this.userid = userid;
	}

	public interface Mapper extends BaseMapper<PArticle> {
	}
	

}
